package com.efast.dmom.mgmt.entity.les;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author ChenLiPeng
 * @since 2018-05-17
 */
@TableName("tw_movement_details")
public class TwMovementDetails implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 移库单明细id
     */
    @TableId(value = "tw_movement_details_id", type = IdType.AUTO)
    private Integer twMovementDetailsId;
    /**
     * 主键id
     */
    @TableField("tw_movement_header_id")
    private Integer twMovementHeaderId;
    /**
     * 移库单编号
     */
    @TableField("sheet_no")
    private String sheetNo;
    /**
     * 行号
     */
    @TableField("line_no")
    private Integer lineNo;
    /**
     * 订单行状态 0新单1发布2完成3关闭4分配完成5部分分配
     */
    @TableField("line_status")
    private String lineStatus;
    /**
     * 零件供应商关系表主键
     */
    @TableField("tr_bas_part_suppl_id")
    private Integer trBasPartSupplId;
    /**
     * 零件号
     */
    @TableField("part_no_version")
    private String partNoVersion;
    /**
     * 源库位
     */
    @TableField("fm_location")
    private String fmLocation;
    /**
     * 源跟踪号
     */
    @TableField("fm_serial_no")
    private String fmSerialNo;
    /**
     * 目标库位
     */
    @TableField("to_location")
    private String toLocation;
    /**
     * 目标跟踪号
     */
    @TableField("to_serail_no")
    private String toSerailNo;
    /**
     * 源数量
     */
    @TableField("fm_qty")
    private Integer fmQty;
    /**
     * 移库数量
     */
    @TableField("to_qty")
    private Integer toQty;
    /**
     * 用户自定义1
     */
    private String udf1;
    /**
     * 用户自定义2
     */
    private String udf2;
    /**
     * 用户自定义3
     */
    private String udf3;
    /**
     * 用户自定义4
     */
    private String udf4;
    /**
     * 用户自定义5
     */
    private String udf5;
    /**
     * 中文描述
     */
    @TableField("desc_cn")
    private String descCn;
    /**
     * 可用数量
     */
    @TableField("available_qty")
    private Integer availableQty;
    @TableField("gross_weight")
    private Integer grossWeight;
    /**
     * 体积
     */
    private Integer cubic;
    /**
     * 源批次
     */
    @TableField("fm_lot_no")
    private String fmLotNo;
    /**
     * 源零件包装流水号
     */
    @TableField("fm_part_pack_serial")
    private String fmPartPackSerial;
    /**
     * 目标零件包装流水号
     */
    @TableField("to_part_pack_serial")
    private String toPartPackSerial;
    /**
     * 账目
     */
    private String acount;
    /**
     * sap移动类型
     */
    @TableField("sap_trans_type")
    private String sapTransType;
    /**
     * 成本中心
     */
    @TableField("cost_center")
    private String costCenter;
    /**
     * 内部订单
     */
    @TableField("inner_order")
    private String innerOrder;
    /**
     * 供应商
     */
    @TableField("suppl_no")
    private String supplNo;
    /**
     * 目标箱数
     */
    @TableField("to_pack_num")
    private Integer toPackNum;
    /**
     * 源箱数
     */
    @TableField("pack_num")
    private Integer packNum;
    /**
     * 源入库包装容量
     */
    @TableField("inb_pack_qty")
    private Integer inbPackQty;
    /**
     * 源入库包装代码
     */
    @TableField("inb_pack_no")
    private String inbPackNo;
    /**
     * 源库区
     */
    @TableField("fm_doc")
    private String fmDoc;
    /**
     * 目标库区
     */
    @TableField("to_doc")
    private String toDoc;
    /**
     * 源仓库
     */
    @TableField("fm_warehouse")
    private String fmWarehouse;
    /**
     * 目标仓库
     */
    @TableField("to_warehouse")
    private String toWarehouse;
    /**
     * 目标批次
     */
    @TableField("to_lot_no")
    private String toLotNo;
    /**
     * 目标入库包装容量
     */
    @TableField("to_inb_pack_qty")
    private Integer toInbPackQty;
    /**
     * 目标入库包装代码
     */
    @TableField("to_inb_pack_no")
    private String toInbPackNo;
    /**
     * 错误信息
     */
    @TableField("err_msg")
    private String errMsg;
    /**
     * 工厂
     */
    @TableField("plant_no")
    private String plantNo;
    /**
     * 车间
     */
    @TableField("workshop_no")
    private String workshopNo;
    /**
     * 零件id
     */
    @TableField("tm_bas_part_id")
    private Integer tmBasPartId;
    /**
     * 原因代码
     */
    @TableField("reason_code")
    private String reasonCode;
    private String notes;
    /**
     * 是否激活
     */
    @TableField("mark_status")
    private Integer markStatus;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;
    /**
     * 创建用户
     */
    @TableField("create_user")
    private String createUser;
    /**
     * 上次更新时间
     */
    @TableField("last_update_time")
    private Date lastUpdateTime;
    /**
     * 更改用户
     */
    @TableField("last_update_user")
    private String lastUpdateUser;
    /**
     * 版本控制
     */
    @TableField("opt_counter")
    private Integer optCounter;
    /**
     * 企业代码
     */
    @TableField("company_code")
    private String companyCode;


    public Integer getTwMovementDetailsId() {
        return twMovementDetailsId;
    }

    public void setTwMovementDetailsId(Integer twMovementDetailsId) {
        this.twMovementDetailsId = twMovementDetailsId;
    }

    public Integer getTwMovementHeaderId() {
        return twMovementHeaderId;
    }

    public void setTwMovementHeaderId(Integer twMovementHeaderId) {
        this.twMovementHeaderId = twMovementHeaderId;
    }

    public String getSheetNo() {
        return sheetNo;
    }

    public void setSheetNo(String sheetNo) {
        this.sheetNo = sheetNo;
    }

    public Integer getLineNo() {
        return lineNo;
    }

    public void setLineNo(Integer lineNo) {
        this.lineNo = lineNo;
    }

    public String getLineStatus() {
        return lineStatus;
    }

    public void setLineStatus(String lineStatus) {
        this.lineStatus = lineStatus;
    }

    public Integer getTrBasPartSupplId() {
        return trBasPartSupplId;
    }

    public void setTrBasPartSupplId(Integer trBasPartSupplId) {
        this.trBasPartSupplId = trBasPartSupplId;
    }

    public String getPartNoVersion() {
        return partNoVersion;
    }

    public void setPartNoVersion(String partNoVersion) {
        this.partNoVersion = partNoVersion;
    }

    public String getFmLocation() {
        return fmLocation;
    }

    public void setFmLocation(String fmLocation) {
        this.fmLocation = fmLocation;
    }

    public String getFmSerialNo() {
        return fmSerialNo;
    }

    public void setFmSerialNo(String fmSerialNo) {
        this.fmSerialNo = fmSerialNo;
    }

    public String getToLocation() {
        return toLocation;
    }

    public void setToLocation(String toLocation) {
        this.toLocation = toLocation;
    }

    public String getToSerailNo() {
        return toSerailNo;
    }

    public void setToSerailNo(String toSerailNo) {
        this.toSerailNo = toSerailNo;
    }

    public Integer getFmQty() {
        return fmQty;
    }

    public void setFmQty(Integer fmQty) {
        this.fmQty = fmQty;
    }

    public Integer getToQty() {
        return toQty;
    }

    public void setToQty(Integer toQty) {
        this.toQty = toQty;
    }

    public String getUdf1() {
        return udf1;
    }

    public void setUdf1(String udf1) {
        this.udf1 = udf1;
    }

    public String getUdf2() {
        return udf2;
    }

    public void setUdf2(String udf2) {
        this.udf2 = udf2;
    }

    public String getUdf3() {
        return udf3;
    }

    public void setUdf3(String udf3) {
        this.udf3 = udf3;
    }

    public String getUdf4() {
        return udf4;
    }

    public void setUdf4(String udf4) {
        this.udf4 = udf4;
    }

    public String getUdf5() {
        return udf5;
    }

    public void setUdf5(String udf5) {
        this.udf5 = udf5;
    }

    public String getDescCn() {
        return descCn;
    }

    public void setDescCn(String descCn) {
        this.descCn = descCn;
    }

    public Integer getAvailableQty() {
        return availableQty;
    }

    public void setAvailableQty(Integer availableQty) {
        this.availableQty = availableQty;
    }

    public Integer getGrossWeight() {
        return grossWeight;
    }

    public void setGrossWeight(Integer grossWeight) {
        this.grossWeight = grossWeight;
    }

    public Integer getCubic() {
        return cubic;
    }

    public void setCubic(Integer cubic) {
        this.cubic = cubic;
    }

    public String getFmLotNo() {
        return fmLotNo;
    }

    public void setFmLotNo(String fmLotNo) {
        this.fmLotNo = fmLotNo;
    }

    public String getFmPartPackSerial() {
        return fmPartPackSerial;
    }

    public void setFmPartPackSerial(String fmPartPackSerial) {
        this.fmPartPackSerial = fmPartPackSerial;
    }

    public String getToPartPackSerial() {
        return toPartPackSerial;
    }

    public void setToPartPackSerial(String toPartPackSerial) {
        this.toPartPackSerial = toPartPackSerial;
    }

    public String getAcount() {
        return acount;
    }

    public void setAcount(String acount) {
        this.acount = acount;
    }

    public String getSapTransType() {
        return sapTransType;
    }

    public void setSapTransType(String sapTransType) {
        this.sapTransType = sapTransType;
    }

    public String getCostCenter() {
        return costCenter;
    }

    public void setCostCenter(String costCenter) {
        this.costCenter = costCenter;
    }

    public String getInnerOrder() {
        return innerOrder;
    }

    public void setInnerOrder(String innerOrder) {
        this.innerOrder = innerOrder;
    }

    public String getSupplNo() {
        return supplNo;
    }

    public void setSupplNo(String supplNo) {
        this.supplNo = supplNo;
    }

    public Integer getToPackNum() {
        return toPackNum;
    }

    public void setToPackNum(Integer toPackNum) {
        this.toPackNum = toPackNum;
    }

    public Integer getPackNum() {
        return packNum;
    }

    public void setPackNum(Integer packNum) {
        this.packNum = packNum;
    }

    public Integer getInbPackQty() {
        return inbPackQty;
    }

    public void setInbPackQty(Integer inbPackQty) {
        this.inbPackQty = inbPackQty;
    }

    public String getInbPackNo() {
        return inbPackNo;
    }

    public void setInbPackNo(String inbPackNo) {
        this.inbPackNo = inbPackNo;
    }

    public String getFmDoc() {
        return fmDoc;
    }

    public void setFmDoc(String fmDoc) {
        this.fmDoc = fmDoc;
    }

    public String getToDoc() {
        return toDoc;
    }

    public void setToDoc(String toDoc) {
        this.toDoc = toDoc;
    }

    public String getFmWarehouse() {
        return fmWarehouse;
    }

    public void setFmWarehouse(String fmWarehouse) {
        this.fmWarehouse = fmWarehouse;
    }

    public String getToWarehouse() {
        return toWarehouse;
    }

    public void setToWarehouse(String toWarehouse) {
        this.toWarehouse = toWarehouse;
    }

    public String getToLotNo() {
        return toLotNo;
    }

    public void setToLotNo(String toLotNo) {
        this.toLotNo = toLotNo;
    }

    public Integer getToInbPackQty() {
        return toInbPackQty;
    }

    public void setToInbPackQty(Integer toInbPackQty) {
        this.toInbPackQty = toInbPackQty;
    }

    public String getToInbPackNo() {
        return toInbPackNo;
    }

    public void setToInbPackNo(String toInbPackNo) {
        this.toInbPackNo = toInbPackNo;
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }

    public String getPlantNo() {
        return plantNo;
    }

    public void setPlantNo(String plantNo) {
        this.plantNo = plantNo;
    }

    public String getWorkshopNo() {
        return workshopNo;
    }

    public void setWorkshopNo(String workshopNo) {
        this.workshopNo = workshopNo;
    }

    public Integer getTmBasPartId() {
        return tmBasPartId;
    }

    public void setTmBasPartId(Integer tmBasPartId) {
        this.tmBasPartId = tmBasPartId;
    }

    public String getReasonCode() {
        return reasonCode;
    }

    public void setReasonCode(String reasonCode) {
        this.reasonCode = reasonCode;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    public Integer getMarkStatus() {
        return markStatus;
    }

    public void setMarkStatus(Integer markStatus) {
        this.markStatus = markStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public String getLastUpdateUser() {
        return lastUpdateUser;
    }

    public void setLastUpdateUser(String lastUpdateUser) {
        this.lastUpdateUser = lastUpdateUser;
    }

    public Integer getOptCounter() {
        return optCounter;
    }

    public void setOptCounter(Integer optCounter) {
        this.optCounter = optCounter;
    }

    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    @Override
    public String toString() {
        return "TwMovementDetails{" +
                ", twMovementDetailsId=" + twMovementDetailsId +
                ", twMovementHeaderId=" + twMovementHeaderId +
                ", sheetNo=" + sheetNo +
                ", lineNo=" + lineNo +
                ", lineStatus=" + lineStatus +
                ", trBasPartSupplId=" + trBasPartSupplId +
                ", partNoVersion=" + partNoVersion +
                ", fmLocation=" + fmLocation +
                ", fmSerialNo=" + fmSerialNo +
                ", toLocation=" + toLocation +
                ", toSerailNo=" + toSerailNo +
                ", fmQty=" + fmQty +
                ", toQty=" + toQty +
                ", udf1=" + udf1 +
                ", udf2=" + udf2 +
                ", udf3=" + udf3 +
                ", udf4=" + udf4 +
                ", udf5=" + udf5 +
                ", descCn=" + descCn +
                ", availableQty=" + availableQty +
                ", grossWeight=" + grossWeight +
                ", cubic=" + cubic +
                ", fmLotNo=" + fmLotNo +
                ", fmPartPackSerial=" + fmPartPackSerial +
                ", toPartPackSerial=" + toPartPackSerial +
                ", acount=" + acount +
                ", sapTransType=" + sapTransType +
                ", costCenter=" + costCenter +
                ", innerOrder=" + innerOrder +
                ", supplNo=" + supplNo +
                ", toPackNum=" + toPackNum +
                ", packNum=" + packNum +
                ", inbPackQty=" + inbPackQty +
                ", inbPackNo=" + inbPackNo +
                ", fmDoc=" + fmDoc +
                ", toDoc=" + toDoc +
                ", fmWarehouse=" + fmWarehouse +
                ", toWarehouse=" + toWarehouse +
                ", toLotNo=" + toLotNo +
                ", toInbPackQty=" + toInbPackQty +
                ", toInbPackNo=" + toInbPackNo +
                ", errMsg=" + errMsg +
                ", plantNo=" + plantNo +
                ", workshopNo=" + workshopNo +
                ", tmBasPartId=" + tmBasPartId +
                ", reasonCode=" + reasonCode +
                ", notes=" + notes +
                ", markStatus=" + markStatus +
                ", createTime=" + createTime +
                ", createUser=" + createUser +
                ", lastUpdateTime=" + lastUpdateTime +
                ", lastUpdateUser=" + lastUpdateUser +
                ", optCounter=" + optCounter +
                ", companyCode=" + companyCode +
                "}";
    }
}
